chore(deps): update dependency @nestjs/axios to v12 - #1866
Merged
Conversation
renovate
Bot
force-pushed
the
renovate/nestjs-axios-12.x
branch
from
August 27, 2026 16:40
78a168d to
c5bce4b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.0.1→12.0.0Release Notes
nestjs/axios (@nestjs/axios)
v12.0.0Compare Source
What's Changed
@nestjs/axiosis now a native ES module, and the major version is aligned with the Nest 12 release line (there is no 5.x — 4.0.1 goes straight to 12.0.0).ESM migration
The package is published as pure ESM (
"type": "module", compiled withNodeNext) behind a properexportsmap. The legacy rootindex.js/index.d.ts/index.tsshims are gone, and deep imports into build internals are no longer resolvable — import from the package root:require(esm) — CommonJS still works
You do not need to convert your app to ESM. Thanks to Node's
require(esm)support, a CommonJS app can keep doing:This is why the supported Node range is now declared explicitly:
Those are the versions where
require(esm)is available and unflagged. On older Node releases, requiring this package will fail withERR_REQUIRE_ESM.Upgrading
For most applications, the upgrade is:
Then check that:
@nestjs/axios/dist/...— import from the package root instead.index.jsshim path explicitly, drop the path and import the package by name.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.